import Home from '../views/Home.vue'
export default[
    {
        path:'/',
        component:()=>import('../views/Main.vue'),
        children:[
            {
                path:'/',
                component:Home
            },
            {
                path:'/goodsList',
                component:() =>import('../views/GoodsList.vue')
            }
        ]
    },
    {
        path:'/detailList',
        component:()=>import('../views/DetailList.vue'),
    },
    {
        path:'/detail',
        component:()=>import('../views/Detail.vue')
    },
    {
        path:'/mainSearch',
        component:()=>import('../components/MainSearch.vue')
    },
    {
        path:'/about',
        component:()=>import('../views/About.vue')
    }
]